
<template>
  <div id="app">
    <img alt="Vue logo" src="./assets/logo.png">
    <Index msg="Welcome to Your Vue.js App" @getName="getNam"/>
  </div>
</template>

<script>
    import Index from './components/index.vue';

    export default {
        name: 'App',
        components: {
            Index,
        },
        methods: {
            getNam(value) {
                console.log(value);
            },
        },
    };
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
